package poo.main;

import poo.date.Data;

public class TestData {

	public static void main(String[] args) {
		Data oggi = new Data();
		System.out.println(oggi + "\n");

		Data domani = oggi.giornoDopo();
		System.out.println(domani + "\n");

		Data d = new Data(31, 12, 2000);
		Data ds = d.giornoDopo();
		System.out.println(ds + "\n");
		System.out.println("Bisestile 2000?" + " "
				+ Data.bisestile(d.get(Data.Elem.ANNO)) + "\n");
		System.out.println("HASH CODE= " + d.hashCode());
	}
}
